<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
import locaStoreCache from '@/util/cache/localStoreCache'
  export default {
    created(){
      this.$eventBus.$on('setFontFamily',()=>{
        this.setFontFamliy();
      })
      this.setFontFamliy();
    },
    methods:{
      //字体设置
      setFontFamliy(){
        const setting=locaStoreCache.getConfig();
        if(setting){
          document.body.style.fontFamily =setting.fontFamily
        }
      }
    }
  }
</script>

<style>
*{
  margin: 0px;
  padding: 0px;
  border: 0px;
}
.addNewLine-btn{
    margin: 5px 0px;
}
.loadMore button{
    width: 100%;
    padding: 5px 15px;
    margin: 5px 0px;
}
:focus{
  outline:0;
}
</style>